#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>

int main(int argc, char **argv)
{

    char *key, *value;

    if (argc < 2)
    {
        perror("argv is low");
        exit(1);
    }

    key = argv[1];
    value = getenv(key);
    printf("key = %s  value = %s \n",key,value );
    

    return 0;
}